//分页参数
let page = {
  total: 1,
  startIndex: 0,
  stepNumber: 20,
  currentPage: 1
};

// 和网络交互相关的参数
let params = {
  encodeName:'',
  employeeName:'',
  tag:'',
  isAll:false,
  email:{
    selectedUsers:[],
  },
  emailStatusParam:{
    id:"",
    emailAddressId:'',
    employeeId:'',
    employeeName:'',
    state:0
  },
};

// 页面的数据源
let data = {
  addressBookList:[],
  emailTagList:[],
  emailDetail:{
    id:'',
    senderEmail:'',
    receiverEmail:'',
    virtualName:'',
    createTime:'',
    subject:'',
    content:'',
    attachment:[],
    attachmentShow:false,
    attachmentCount:'',
  }
};

let status={
  replayEmail:{// 发送邮件相关的状态
    isShowing:false,
  },
  historyEmail:{
    isShow:false,
  },
  modalEmailTags:{
    isShow:false,
  },
  modalAssignUser:{
    isShow: false
  },
  userNo:{
    isShow:false,
    msg:"",
    isSelect:true,
    encodeName:'',
    userId:'',
    encodeNameList:[],
  },
};

export  default  {
  tPage: page,
  tParam: params,
  tData: data,
  tStatus:status
};
